package cn.pojo;

import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * 疫苗信息实体类
 */
@Component
public class HealthVaccine {

    private Integer vaccineId; // 主键自增id
    private String vaccineName; // 疫苗名称
    private String vaccineKind; // 疫苗种类
    private String vaccineBatch; // 生产批次
    private String vaccineBand; // 生产公司
    private Date vaccineYield; // 生产日期
    private Integer vaccineNum; // 需要打几针

    public HealthVaccine() {
    }

    /**
     *
     * @param vaccineId 主键自增id
     * @param vaccineName 疫苗名称
     * @param vaccineKind 疫苗种类
     * @param vaccineBatch 生产批次
     * @param vaccineBand 生产公司
     * @param vaccineYield 生产日期
     * @param vaccineNum 需要打几针
     */
    public HealthVaccine(Integer vaccineId, String vaccineName, String vaccineKind, String vaccineBatch, String vaccineBand, Date vaccineYield, Integer vaccineNum) {
        this.vaccineId = vaccineId;
        this.vaccineName = vaccineName;
        this.vaccineKind = vaccineKind;
        this.vaccineBatch = vaccineBatch;
        this.vaccineBand = vaccineBand;
        this.vaccineYield = vaccineYield;
        this.vaccineNum = vaccineNum;
    }

    public Integer getVaccineId() {
        return vaccineId;
    }

    public void setVaccineId(Integer vaccineId) {
        this.vaccineId = vaccineId;
    }

    public String getVaccineName() {
        return vaccineName;
    }

    public void setVaccineName(String vaccineName) {
        this.vaccineName = vaccineName;
    }

    public String getVaccineKind() {
        return vaccineKind;
    }

    public void setVaccineKind(String vaccineKind) {
        this.vaccineKind = vaccineKind;
    }

    public String getVaccineBatch() {
        return vaccineBatch;
    }

    public void setVaccineBatch(String vaccineBatch) {
        this.vaccineBatch = vaccineBatch;
    }

    public String getVaccineBand() {
        return vaccineBand;
    }

    public void setVaccineBand(String vaccineBand) {
        this.vaccineBand = vaccineBand;
    }

    public Date getVaccineYield() {
        return vaccineYield;
    }

    public void setVaccineYield(Date vaccineYield) {
        this.vaccineYield = vaccineYield;
    }

    public Integer getVaccineNum() {
        return vaccineNum;
    }

    public void setVaccineNum(Integer vaccineNum) {
        this.vaccineNum = vaccineNum;
    }

    @Override
    public String toString() {
        return "HealthVaccine{" +
                "vaccineId=" + vaccineId +
                ", vaccineName='" + vaccineName + '\'' +
                ", vaccineKind='" + vaccineKind + '\'' +
                ", vaccineBatch='" + vaccineBatch + '\'' +
                ", vaccineBand='" + vaccineBand + '\'' +
                ", vaccineYield=" + vaccineYield +
                ", vaccineNum=" + vaccineNum +
                '}';
    }
}
